package cn.sunlight.city.service.impl;

import cn.sunlight.city.mapper.ChinaCityMapper;
import cn.sunlight.city.pojo.ChinaCity;
import cn.sunlight.city.pojo.Province;
import cn.sunlight.city.service.ChinaCityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: ChinaCityServiceImpl
 * @Description: TODO
 * @Author: sunlight
 * @Date: 17:01 - 2022/2/10
 * @Version: 1.0
 **/
@Service
public class ChinaCityServiceImpl implements ChinaCityService {

    @Autowired
    private ChinaCityMapper chinaCityMapper;

    @Override
    public List<ChinaCity> selectAll() {
        return chinaCityMapper.selectAll();
    }
}
